#pragma once
#include <chrono>
#include <sys/stat.h>

namespace ns_interface
{
    constexpr unsigned long long NET_BUFFER_SIZE = 1024 * 1024;
    constexpr unsigned int MAX_THREAD_SIZE = 2;
    constexpr std::chrono::minutes MAX_IDLE_TIME = std::chrono::minutes{ 5 };
    constexpr std::chrono::seconds TIMEOUT_DURATION = std::chrono::minutes{ 10 };
    constexpr unsigned int MAX_VALUE_SIZE = 8;
    constexpr unsigned int MIN_POOL_SIZE = 10;
    constexpr unsigned int MAX_POOL_SIZE = 10000;
    constexpr unsigned int OVERFLOW_SIZE = 2000;
    constexpr float MAX_GC_RATE = 0.25;
}